/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

/**
 *
 * @author 乐山
 */
public class CourseGrade {
    private String name;
    /**
     * 修习类别
     */
    private String type;
    /**
     * 考试类别
     */
    private String examStat;
    /**
     * 学分
     */
    private Double credit;
    private Integer finalGrade;
    

    public CourseGrade() {
    }

    public CourseGrade(String name, String type, String examStat, Double credit, Integer finalGrade) {
        this.name = name;
        this.type = type;
        this.examStat = examStat;
        this.credit = credit;
        this.finalGrade = finalGrade;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getExamStat() {
        return examStat;
    }

    public void setExamStat(String examStat) {
        this.examStat = examStat;
    }

    

    public Integer getFinalGrade() {
        return finalGrade;
    }

    public void setFinalGrade(Integer finalGrade) {
        this.finalGrade = finalGrade;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Double getCredit() {
        return credit;
    }

    public void setCredit(Double credit) {
        this.credit = credit;
    }

    @Override
    public String toString() {
        return "CourseGrade{" + "name=" + name + ", type=" + type + ", examStat=" + examStat + ", credit=" + credit + ", finalGrade=" + finalGrade + '}';
    }

    
    
    
}
